import request from "../request";
/**
 *  获取分类导航
 * @returns
 */
function indexaction() {
  return request({
    url: "category/indexaction",
  });
}

/**
 * 获取分类数据
 * @param {*} data {id : 分类id}
 * @returns
 */
function currentaction(data) {
  return request({
    url: "category/currentaction",
    data,
  });
}

export { indexaction, currentaction };
